package cn.xo68.boot.auth.server.domain;


import java.util.Date;



/**
 * OauthRefreshToken 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年08月26日 20:53:56
 *
 */
public class OauthRefreshToken implements java.io.Serializable{

	private static final long serialVersionUID = 1L;

	/**
	 * 刷新令牌
	 */
	private String refreshToken;
	/**
	 * 令牌
	 */
	private String token;
	/**
	 * 用户id
	 */
	private String userId;
	/**
	 * 客户端id
	 */
	private String clientId;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 过期时间
	 */
	private Date expireTime;

	@Override
	public String toString(){
		return "refreshToken:"+this.refreshToken+","+"token:"+this.token+","+"userId:"+this.userId+","+"clientId:"+this.clientId+","+"createTime:"+this.createTime+","+"expireTime:"+this.expireTime;
	}


	public String getRefreshToken() {
		return this.refreshToken;
	}
	public void setRefreshToken(String value) {
		this.refreshToken = value;
	}

	public String getToken() {
		return this.token;
	}
	public void setToken(String value) {
		this.token = value;
	}

	public String getUserId() {
		return this.userId;
	}
	public void setUserId(String value) {
		this.userId = value;
	}

	public String getClientId() {
		return this.clientId;
	}
	public void setClientId(String value) {
		this.clientId = value;
	}

	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date value) {
		this.createTime = value;
	}

	public Date getExpireTime() {
		return this.expireTime;
	}
	public void setExpireTime(Date value) {
		this.expireTime = value;
	}
}